#ifndef PINAREA_H
#define PINAREA_H

#include "area.h"

#include <QImage>
#include <QPainter>
#include <QPoint>
#include <QDesktopServices>
#include <QUrl>

class PinArea : public Area
{

public:

    PinArea(QWidget* parent=0, int x=0, int y=0, int width=250, int height=80, int id=-1, int serial=-1);

    void setData(const QString &data);

    bool isEmpty() const;
    QByteArray getData();
    virtual QByteArray contains() const;

private:

    void paintEvent(QPaintEvent *);

private:

    QImage _image;
    QString _filename;

};

#endif // PINAREA_H
